import serial
import time
port = raw_input("Comport: ")
foo = serial.Serial(port)
foo.write("System:rst:btlo;")
foo.close()
time.sleep(2)
raw_input("Hit enter once Atmel device appears in device manager...")

